home *** CD-ROM | disk | FTP | other *** search
- Path: saclink1.csus.edu!rpope
- From: rpope@saclink1.csus.edu (Ralph A Pope)
- Newsgroups: comp.lang.c
- Subject: Skipping ahead in a file?
- Date: 4 Apr 1996 19:28:45 GMT
- Organization: California State University Sacramento
- Message-ID: <4k17td$chn@news.csus.edu>
- NNTP-Posting-Host: rpope%@saclink1.csus.edu
- X-Newsreader: TIN [version 1.2 PL2.csus01]
-
- OK, basically what I want to do is take a file that's 20*(12+1)*4*4 bytes
- long, and skip ahead 61 characters in the program several times. Then I
- want to be able to reset the file pointer to start 20 characters away
- from the previous starting point. I want to do this a total of 5 times.
- Any idea of how to get this working? I can't seem to figure out
- fseek(). I'm using MS-DOS 6.2 with DJGPP, BTW. Any help you can give me
- would be GREATLY appreciated! :)
-
- -Michael P.
-